import React, { Component } from 'react'
import { Container, Content, Text, List, ListItem } from 'native-base'

const renderRow = (item) => {
  return (
    <ListItem>
      <Text>{item.name}</Text>
    </ListItem>
  )
}

const Public = () => {
  const datas = [{name: '公用频道1'}, {name: '公用频道2'}]
  return (
    <Container>
      <Content padder>
        <List
          removeClippedSubviews={false}
          dataArray={datas}
          renderRow={renderRow}
        />
      </Content>
    </Container>
  )
}

export default Public
